<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>power</title>
<script>
function iswap(){
          var userAgentInfo = navigator.userAgent;
          var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"];
          var flag = true;
          for (var v = 0; v < Agents.length; v++) {
              if (userAgentInfo.indexOf(Agents[v]) > 0) {
                  flag = false;
                 break;
             }
         }
	if(flag){
		 window.location.replace("https://www.baidu.com");
	}else{
		 window.location.replace("https://www.mi.com");
	}
         return flag;
}
</script>
</head>
<body onload="iswap()">
</body>
</html>